package com.wing.productionPlan.model.response;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.wing.productionPlan.utils.ExcelExport;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class UnstartedMaterialsVO {
    //图片
    private String pic;
    //物料名称
    @ExcelExport(value = "物料名称",sort = 1)
    private String skuName;
    //物料编码
    @ExcelExport(value = "物料编码",sort = 2)
    private String materialSkuCode;
    //规格码
    @ExcelExport(value = "规格码",sort = 3)
    private String oldSpecCode;
    //品牌
    @ExcelExport(value = "品牌",sort = 4)
    private String brandName;
    //所属供应商
    @ExcelExport(value = "所属供应商",sort = 5)
    private String supplierName;
    //单价
    @ExcelExport(value = "单价",sort = 6)
    private BigDecimal price;
    //包装单位
    @ExcelExport(value = "包装单位",sort = 7)
    private String unitName;
    //包装方案
    @ExcelExport(value = "包装方案",sort = 8)
    private String packName;
    //总需求数
    @ExcelExport(value = "总需求数",sort = 9)
    private Integer quantity;
    //库存数
    @ExcelExport(value = "库存数",sort = 10)
    private Integer stockNumber;
    //总计金额
    @ExcelExport(value = "总计金额",sort = 11)
    private BigDecimal total;
    //状态
    @ExcelExport(value = "状态",sort = 12)
    private String status;
    //缺货金额
    @ExcelExport(value = "缺货金额",sort = 13)
    private BigDecimal outTotal;
    //截至时间
    @ExcelExport(value = "截至时间",sort = 14)
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime time;

}
